﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rung.Net.Test.Utilities
{
    internal class DataProvider
    {
        public static List<TestSerializableClass> GetTestClassList()
        {
            List<TestSerializableClass> c = new List<TestSerializableClass>();
            for (int i = 0; i < 1000; i++)
            {
                c.Add(new TestSerializableClass(i));
            }

            return c;
        }

        [Serializable]
        internal class TestSerializableClass
        {
            public int I;
            public DateTime Date;
            public string S;

            public TestSerializableClass(int i)
            {
                this.I = i;
                this.Date = DateTime.Now.AddDays(i);
                this.S = new string('*', 200);
            }
        }
    }
}
